package com.hejia.alauda.entity;

import javax.persistence.Column;

/**
 * 与合家合作的第三方的相关联的帐号
 * 
 * @author paul
 *
 */
public class Account extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2377223772990191614L;

	@Column
	private User user; //用户

	@Column
	private Platform platform;//合作平台

	@Column
	private String account;//合作平台的账户

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Platform getPlatform() {
		return platform;
	}

	public void setPlatform(Platform platform) {
		this.platform = platform;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public static enum Platform {
		JIAYUAN;
	}
}
